public class Goods {
    private String tradeName;
    private double price;

    @Override
    public String toString() {
        return "Goods{" +
                "tradeName='" + tradeName + '\'' +
                ", price=" + price +
                '}';
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getTradeName() {
        return tradeName;
    }

    public double getPrice() {
        return price;
    }
}
